package com.geovis.emergency.spd.biz.command.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.geovis.emergency.spd.entity.command.entity.TEpDisaster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geovis.emergency.spd.entity.command.pojo.vo.TepDisasterEventVO;
import com.geovis.emergency.spd.entity.pc.entity.PcMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lonsho
 * @since 2022-10-25
 */
public interface TEpDisasterMapper extends BaseMapper<TEpDisaster> {

    List<TepDisasterEventVO> selectEventList(@Param(Constants.WRAPPER) Wrapper<TepDisasterEventVO> wrapper);

    IPage<TepDisasterEventVO> selectEventPage(@Param("page") IPage<TepDisasterEventVO> page, @Param(Constants.WRAPPER) Wrapper<TepDisasterEventVO> wrapper);
}
